package com.harmonk.firstscene.db.entity

import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey

@Entity(tableName = "roads", indices = [Index(value = ["roadId"], unique = true)])
data class Road(
    @PrimaryKey(autoGenerate = true)
    val roadId: Long = 0,
    val name: String = "",
    val upDirection: String = "",
    val downDirection: String = "",
)